<template>
  <div>
    <Chat :token="token" :serverUrl="serverUrl" />
  </div>
</template>

<script>
import Chat from "./components/Chat";

export default {
  components: {
    Chat,
  },
  data() {
    return {
      token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzQxNDI5NzQsInVzZXJuYW1lIjoidV8wb3F0d01PUVNZIiwibWVtYmVyX2lkIjoxfQ.CrxRgMhf3Ga9d2hf3jQ1wy_2n1_KRvxanb6l2C1ha1Q", // Example token
      serverUrl: "wss://www.caixianjian.com:8443/chat",
    };
  },
};
</script>
